<div class="wide form">
<?php $form=$this->beginWidget('CActiveForm', array(
	'action'=>Yii::app()->createUrl($this->route),
	'method'=>'get',
)); ?>
	<form class="form" action="">  <!--form begin -->
		<div class="left_1 1_px"></div>
		<div class="left_2 1_px"></div>
		<div class="left_3 1_px"></div>
			<div class="form1" >
				<lable for="position"><span><?php echo $form->label($model_nj,'name'); ?></span></lable>
				<?php echo $form->textField($model_nj,'name',array('size'=>16,'maxlength'=>16)); ?>
				<div>
					<select id="select" onchange=hide(this.options[this.options.selectedIndex].value,1);>
						<option value="wugong" name="wugong" >务工</option>
						<option value="nongji" name="nongji" selected>农机</option>
					</select>
				</div>
				<input type="submit" value="" id="submit" />
			</div>
		<div class="left_3"></div>
		<div class="left_2"></div>
		<div class="left_1"></div>
			<p class="logo_words"><span>农民朋友最好的搜索渠道！</span></p>
		<div id="advanced_search1" class="i_advanced_search">
			<strong onclick=hid(3);>高级搜索</strong>
		</div>
	
		<div id="hide1">       <!--advanced search div -->
			<div class="left_1 short_1"></div>
			<div class="left_2 short_2"></div>
			<div class="left_3 short_3"></div>
				<strong id="hide_search1" onclick=hid(4);>隐藏高级搜索</strong>
			<div class="left_1 long_1"></div>
			<div class="left_2 long_2"></div>
			<div class="left_3 long_3"></div>
		
			<div class="form2">
				<li>
					<lable for="salary">
					<span><?php echo $form->label($model_nj,'price'); ?>:</span></lable>
					<?php echo $form->dropDownList($model_nj,'price',
					array(
					''=>'...',
					'0~5000'=>'5000以下',
					'5000~10000'=>'5000~10000',
					'10000~50000'=>'10000~50000',
					'50000~100000'=>'50000~100000',
					'100000'=>'100000以上',
					));?>
				</li>
				
				<li><lable for="company_name"><span><?php echo $form->label($model_nj,'company'); ?>:</span></lable>
				<?php echo $form->textField($model_nj,'company',array('size'=>50,'maxlength'=>50)); ?></li>

			</div>
		</div>
	</form>            <!--end form -->
</div><!-- search-form -->
<?php $this->endWidget(); ?>